0adb51e16608bfba9a5673b9c67cc228012f279f,snmp4sdn/src/main/java/org/opendaylight/snmp4sdn/internal/SNMPHandler.java,SNMPHandler,readFlowRequest,#Flow#Node#,377

Before Change



        //1. open snmp communication interface
        try{
            sw_ipAddr = InetAddress.getByName(CmethUtil.getIpAddr(sw_macAddr));
        }
        catch (UnknownHostException e) {
            System.out.println("sw_macAddr " + sw_macAddr + "into InetAddress.getByName() error!\n" + e);

After Change



        //1. open snmp communication interface
        try{
            String switchIP = cmethUtil.getIpAddr(sw_macAddr);
            sw_ipAddr = InetAddress.getByName(switchIP);
        }
        catch (UnknownHostException e) {